﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SkillifyMaster.master" AutoEventWireup="true"
    CodeFile="ViewPerformance.aspx.cs" Inherits="ViewPerformance" %>

<%@ Register Src="UserControl/PerformanceControl.ascx" TagName="PerformanceControl"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%">
        <tr>
            <td colspan="2" align="right">
                <h2>
                    <asp:Label ID="lablPer" runat="server" Text="View Performance"></asp:Label></h2>
            </td>
        </tr>

        <%--<tr>
            <td align="left">
                <asp:Label ID="lablGroup" runat="server" Text="Group"></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="ddlGroup" runat="server" Width="290" AutoPostBack="True" 
                    onselectedindexchanged="ddlGroup_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>--%>
        <tr>
            <td colspan="2">

                <asp:DataList ID="lvStudent" runat="server" RepeatDirection="Horizontal" 
                    RepeatColumns="3">
                    <ItemTemplate>
                        <table cellspacing="3">
                            <tr>
                                <td>
                                    <uc1:PerformanceControl ID="itemPlaceholder" runat="server" USERID='<%# Eval("UserId") %>' />
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
                <%--<asp:ListView ID="lvStudent" runat="server"  GroupItemCount="4" GroupPlaceholderID="groupPlaceHolder" ItemPlaceholderID="itemPlaceholder">
                    <LayoutTemplate>
                        <table>
                            <tr>
                                <td>
                                    <table border="0">
                                        <tr>
                                            <td colspan="5">
                                                <asp:PlaceHolder ID="groupPlaceHolder" runat="server"></asp:PlaceHolder>

                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </LayoutTemplate>
                    <GroupTemplate>
                        <tr>
                            <td>
                                <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
                            </td>
                        </tr>
                    </GroupTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <uc1:PerformanceControl ID="itemPlaceholder" runat="server" USERID='<%# Eval("UserId") %>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:ListView>--%>
            </td>
        </tr>
    </table>
</asp:Content>
